package com.mg.admin.service.admin.impl;

import com.mg.admin.bean.admin.WxSetVO;
import com.mg.admin.dao.admin.WxSetMapper;
import com.mg.admin.service.admin.WxSetService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by jujunchen on 2017/9/24.
 */
@Service
public class WxSetServiceImpl implements WxSetService{

    @Autowired
    private WxSetMapper wxSetMapper;

    @Override
    public WxSetVO findOneById() {
        WxSetVO wxSetVO = wxSetMapper.findOneById();
        return wxSetVO;
    }

    @Transactional
    @Override
    public void updateOneById(WxSetVO wxSetVO) {
        wxSetMapper.updateOneById(wxSetVO);
    }


}
